/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const Icondianzan: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1040 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M36.903081 423.252151l259.663896 0 0 556.736997-259.663896 0 0-556.736997Z"
        fill={getIconColor(color, 0, '#FF5858')}
      />
      <path
        d="M307.569684 453.861683v515.124758l591.945662-12.058968s228.856315-221.198431 0-533.675322h-118.829241l-81.420035-26.406498 59.41462-231.056857-104.195639-143.035197-134.233031 22.005415-32.215928 136.433572-17.604332 101.224909-70.417328 114.428158z"
        fill={getIconColor(color, 1, '#FFDA44')}
      />
      <path
        d="M721.601566 1007.231852H312.806973a66.80844 66.80844 0 0 1-44.2969 16.768126H67.138521a67.09451 67.09451 0 0 1-67.116516-67.072505V453.861683a67.09451 67.09451 0 0 1 67.116516-67.072505h201.393557a66.896461 66.896461 0 0 1 49.248119 21.609318c41.700261-33.954355 152.123433-139.602352 152.123433-306.689468C469.90363 1.606395 570.600409 1.100271 570.600409 1.100271s218.161684-30.807581 218.161683 234.753766c0 57.654187-33.558258 150.913136-33.558257 150.913136h50.348389s234.797777-39.279666 234.797777 251.543898-82.322257 368.920781-318.858462 368.920781M268.510073 487.309913a33.558258 33.558258 0 0 0-33.558258-33.44823h-134.233031a33.558258 33.558258 0 0 0-33.580263 33.44823v436.081308a33.558258 33.558258 0 0 0 33.580263 33.536252h134.233031a33.558258 33.558258 0 0 0 33.558258-33.536252V487.309913m553.788272-33.44823h-201.371552s100.696779-99.024367 100.696779-234.753767-95.965614-150.913136-134.233031-150.913135-50.348389 12.058967-50.34839 33.536252c0 250.993763-201.371552 385.666902-201.371552 385.666902v452.761412h402.699093c180.928521 0 234.951815-61.307086 234.951815-285.058145s-151.023163-201.217514-151.023162-201.217514m0 0z"
        fill={getIconColor(color, 2, '#515151')}
      />
    </svg>
  );
};

Icondianzan.defaultProps = {
  size: 18,
};

export default Icondianzan;
